﻿using System.Windows;
using Ki.Odin;

namespace Ishtari
{
    /// <summary>
    /// Interaction logic for Base.xaml
    /// </summary>
    public partial class Base
    {
        readonly FT2GEHandler mHandler;
        public Base()
        {
            mHandler = new FT2GEHandler();

            InitializeComponent();
            Loaded += Base_Loaded;
        }

        void Base_Loaded(object tSender, RoutedEventArgs tArgs)
        {
            DataContext = mHandler;
            iSave.Click += mHandler.Save_WhenClick;
            iFindFractal.Click += mHandler.SelectFractalLocation;
        }
    }
}
